package com.yy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * Author young
 * Date 2022/12/27 18:12
 * Description: 设置消息总线后，只需刷新config中心的bus端点即可实现一处刷新多处客户端信息更改 curl -X POST "http://localhost:8006/actuator/busrefresh"
 */
@SpringBootApplication
@EnableConfigServer
@EnableEurekaClient
public class ConfigCenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConfigCenterApplication.class,args);
    }
}
